package com.ctshk.rpc.localfun.entity.es;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(value = "LocalFunAttr对象",description = "当地玩乐产品规格属性缓存对象")
public class LocalFunAttr implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "规格1id")
    private Long attr1_id;

    @ApiModelProperty(value = "规格1id")
    private String attr1Name;

    @ApiModelProperty(value = "规格2id")
    private Long attr2_id;

    @ApiModelProperty(value = "规格1id")
    private String attr2Name;

    @ApiModelProperty(value = "剩余可销售数量")
    private Integer surplusStock;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty("成本價")
    private BigDecimal costPrice;

    @ApiModelProperty("预定服务费")
    private BigDecimal reserveCharge;

    @ApiModelProperty("匯率")
    private BigDecimal exchangeRate;
}
